package com.huibo.entity;

import lombok.Data;

/**
 * 门店信息
 */
@Data
public class Company {
    private Long id;

    private Double size = 220.0;//面积

    private String name;//名称

    private String address;//地址

    private Double preWorkTime = 0.5;//0.5的倍数，开门前preWorkTime小时  a

    private Integer StoreSizeNeedBefore = 50;// b

    private Double passengerFlowNeed = 3.8;//客流passengerFlowNeed  c

    private Integer freePopulation = 1;//没人的时候free_population值班  d

    private Double aftWorkTime = 1.0;//0.5的倍数，关门后aftWork小时  e

    private Integer StoreSizeNeedAfter1 = 50;//f

    private Integer StoreSizeNeedAfter2 = 2;//g

    public Company(Long id, Double size, String name, String address, Double preWorkTime, Integer storeSizeNeedBefore, Double passengerFlowNeed, Integer freePopulation, Double aftWorkTime, Integer storeSizeNeedAfter1, Integer storeSizeNeedAfter2) {
        this.id = id;
        this.size = size;
        this.name = name;
        this.address = address;
        this.preWorkTime = preWorkTime;
        StoreSizeNeedBefore = storeSizeNeedBefore;
        this.passengerFlowNeed = passengerFlowNeed;
        this.freePopulation = freePopulation;
        this.aftWorkTime = aftWorkTime;
        StoreSizeNeedAfter1 = storeSizeNeedAfter1;
        StoreSizeNeedAfter2 = storeSizeNeedAfter2;
    }

    public Company(){}
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Double getSize() {
        return size;
    }

    public void setSize(Double size) {
        this.size = size;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Double getPreWorkTime() {
        return preWorkTime;
    }

    public void setPreWorkTime(Double preWorkTime) {
        this.preWorkTime = preWorkTime;
    }

    public Integer getStoreSizeNeedBefore() {
        return StoreSizeNeedBefore;
    }

    public void setStoreSizeNeedBefore(Integer storeSizeNeedBefore) {
        StoreSizeNeedBefore = storeSizeNeedBefore;
    }

    public Double getPassengerFlowNeed() {
        return passengerFlowNeed;
    }

    public void setPassengerFlowNeed(Double passengerFlowNeed) {
        this.passengerFlowNeed = passengerFlowNeed;
    }

    public Integer getFreePopulation() {
        return freePopulation;
    }

    public void setFreePopulation(Integer freePopulation) {
        this.freePopulation = freePopulation;
    }

    public Double getAftWorkTime() {
        return aftWorkTime;
    }

    public void setAftWorkTime(Double aftWorkTime) {
        this.aftWorkTime = aftWorkTime;
    }

    public Integer getStoreSizeNeedAfter1() {
        return StoreSizeNeedAfter1;
    }

    public void setStoreSizeNeedAfter1(Integer storeSizeNeedAfter1) {
        StoreSizeNeedAfter1 = storeSizeNeedAfter1;
    }

    public Integer getStoreSizeNeedAfter2() {
        return StoreSizeNeedAfter2;
    }

    public void setStoreSizeNeedAfter2(Integer storeSizeNeedAfter2) {
        StoreSizeNeedAfter2 = storeSizeNeedAfter2;
    }
}
